package ia_0;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import ia_0.CarteSimple;
import ia_0.Time;
import ia_0.World;
import java.util.Timer;
import java.util.TimerTask;

/**
 *
 * @author jderenty
 */
public class Main {

        public static World w;
        public static Timer ti;
        public static TimerTask task;
        public static TestDisplay td;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        w=new CarteSimple();

        td = new TestDisplay();
        Main.task = new TimerTask() {

            @Override
            public void run() {
                w.iterate();
                Main.td.initWorld();
            }
        };

        Main.ti = new Timer();

    }


}
